package net.cloudcodex.client.campaign.view;

import java.util.Date;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.dom.client.HasKeyDownHandlers;
import com.google.gwt.event.dom.client.HasKeyUpHandlers;
import com.google.gwt.user.client.ui.IsWidget;

public interface CampaignConfigView extends IsWidget {

	public void addCampaignInfos(String name, String icon, String game,
			Date creationDate);

	public void initView();

	public HasClickHandlers getModifyButton();

	public HasKeyDownHandlers getDescriptionTexteAreaKeyDown();

	public HasKeyUpHandlers getDescriptionTexteAreaKeyUp();

	public HasKeyDownHandlers getNameTextBoxKeyDown();

	public HasKeyDownHandlers getGameTextBoxKeyDown();

	public HasKeyDownHandlers getIconTextBoxKeyDown();

	public HasKeyUpHandlers getNameTextBoxKeyUp();

	public HasKeyUpHandlers getGameTextBoxKeyUp();

	public HasKeyUpHandlers getIconTextBoxKeyUp();

	public void setModifyButtonEnable(boolean enable);

	public String getCampaignName();

	public String getCampaignGame();

	public String getCampaignIcon();

	public String getCampaignDescription();

	public void refreshCampaignInfos(String name, String icon, String game);

}
